<include file="Public/mobile_head"/>
<link href="{:ADDON_PUBLIC_PATH}/Coupon.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
<body id="scratch">
	<div class="container body" style="position:relative">
    	<div class="prev_get">
        	<div class="top"></div>
            <div class="mid">
                <notempty name="my_sn_list">
            	<div class="get_text">
                	<h6>已获得的优惠券</h6>
                    <p class="list">
                        <volist name="my_sn_list" id="sn">
                SN码&nbsp;&nbsp;：{$sn.sn}<br/>
                状 态&nbsp;&nbsp;：<eq name="sn.is_use" value="1">已使用<else />未使用</eq><br/>
                
                <if condition="!empty($data['start_time']) && !empty($data['end_time'])">
                有效期：{$data.start_time|time_format} 至 {$data.end_time|time_format}
                </if>

                <if condition="!empty($data['start_time']) && empty($data['end_time'])">
                开始时间：{$data.start_time|time_format}
                </if>
                <if condition="empty($data['start_time']) && !empty($data['end_time'])">
                截止时间：{$data.end_time|time_format}
                </if>  
                                
                <br/>
                        </volist>    
                          	
                    </p>
                </div>
                </notempty>
                
                <div class="get_text">
                	<h6>{$data.title}</h6>
                    <p>简介： {$data.intro}</p>
                </div>                
                
                <div class="get_text">
                	<h6>领取条件</h6>
                    <p class="list">
                        <volist name="condition" id="vo">
                        <span class="num">{$key+1}</span>{$vo} <br/>
                        </volist>    
                          	
                    </p>
                </div>
                <notempty name="error">
                    <h3 class="get_error">
                        {$error}
                    </h3>
                <else />
            		<center><a href="{:U('set_sn_code',array('id'=>$data[id]))}"><img class="get_btn" src="{:ADDON_PUBLIC_PATH}/get_btn.jpg"/></a></center>
                </notempty>
                
            </div>
            <div class="btm"></div>
        </div>
        
        <p class="copyright">{$system_copy_right}</p>
        </div>
    </div>
</body>
<script type="text/javascript">
var h=$(document).height();
$('.container').css("min-height",h);
</script>
</html>
